package com.test.ws.s1.service.imp;

import com.test.ws.s1.bean.Acl_user;
import com.test.ws.s1.mapper.Acl_userDao;
import com.test.ws.s1.service.Acl_userService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class Acl_userServiceImp implements Acl_userService{
    @Autowired
    Acl_userDao service;


    @Override
   public ArrayList<Acl_user> selectAcl_user(Acl_user acl_user) {
        return service.selectAcl_user(acl_user);
    }

    @Override
    public int updateAcl_user(Acl_user acl_user) {
        return service.updateAcl_user(acl_user);
    }

    @Override
    public Acl_user selectOneAcl_user(int user_id) {
        return service.selectOneAcl_user(user_id);
    }

    @Override
    public int insertAcl_user(Acl_user acl_user) {
        return service.insertAcl_user(acl_user);
    }

    @Override
    public int deleteAcl_user(int user_id) {
        return service.deleteAcl_user(user_id);
    }
}
